<template>
	<view class="content">
        <u-navbar bgColor="#fff" :fixed="true" :shadow="true" :safeAreaInsetTop="true" :placeholder="true"
            leftIconColor="#151C24" @leftClick="back"
            title="单位详情" titleColor="#151C24">
        </u-navbar>

        <view class="uni-area">
            <!-- 单位信息 -->
            <uni-item-base class="u-m-t-30" :baseData="unitData" />
            <!-- 附件 -->
            <uni-accessory class="u-m-t-30" :title="{title:'附件'}"></uni-accessory>
            <!-- 间隔 -->
            <u-gap height="15" bgColor="#FBFCFC"></u-gap>
        </view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
                // 单位信息
                unitData:{
                    line: true,
                    title: '单位信息',
                    rightText: '查看单位',
                    list: [
                        { title:'单位名称', value:'XX项目' },
                        { title:'统一社会信用代码', value:'住建' },
                        { title:'单位地址', value:'张三' },
                        { title:'单位类型', value:'完工' },
                        { title:'属地', value:'一师' },
                        { title:'主项资质类别', value:'2020-12-14' },
                        { title:'资质等级', value:'2021-12-31' },
                        { title:'资质证书号', value:'2021-12-31' },
                        { title:'联系电话', value:'15334526565', type:'phone' },
                        { title:'传真', value:'2021-12-31' },
                        { title:'分包类型', value:'2021-12-31' },
                        { title:'合同造价', value:'2021-12-31' },
                        { title:'分包标段名称', value:'2021-12-31' },
                        { title:'开工日期', value:'2021-12-31' },
                        { title:'竣工日期', value:'2021-12-31' },
                    ],
                }
			}
		},

		onLoad() {

		},

		methods: {
            // 返回
            back(){
                uni.navigateBack()
            },
		}
	}
</script>

<style scoped lang="scss">
    // .content{}
</style>
